SureCart\Models\LineItem S

Total Complexity 49
Dependencies 4
Dependents 3
Total lines 333
Lines of code 152
Logical lines of code 67
Comment lines 121
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
upsell()
S
53 5 25
swap()
S
53 5 23
unswap()
S
53 5 23
getImageAttribute()
S
65 5 9
getPurchasableStatusDisplayAttribute()
S
56 3 18
getConvertedDiscountAmountAttribute()
S
71 3 6
getSkuAttribute()
S
70 3 6
getAdHocDisplayAmountAttribute()
S
77 2 3
getBumpDisplayAmountAttribute()
S
77 2 3
getScratchDisplayAmountAttribute()
S
77 2 3
getVariantDisplayOptionsAttribute()
S
71 2 6
getTaxDisplayAmountAttribute()
S
77 2 3
getFullDisplayAmountAttribute()
S
77 2 3
getTrialDisplayAmountAttribute()
S
77 2 3
getSubtotalDisplayAmountAttribute()
S
79 1 3
getTotalDisplayAmountAttribute()
S
79 1 3
getCurrencyAttribute()
S
79 1 3
getCanSwapAttribute()
S
82 1 3
getTotalDefaultCurrencyDisplayAmountAttribute()
S
77 1 3
setVariantAttribute()
S
79 1 3